@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2'),
        url('../fonts/OpenSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold.woff2') format('woff2'),
        url('../fonts/OpenSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Light.woff2') format('woff2'),
        url('../fonts/OpenSans-Light.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Medium.woff2') format('woff2'),
        url('../fonts/OpenSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    letter-spacing: 0;
    font: {
        weight: 400;
        style: normal;
        family: 'Open Sans', PingFang SC, Hiragino Sans GB, Microsoft YaHei, STHeiti,
            WenQuanYi Micro Hei, Helvetica, Arial, sans-serif;
        size: 16px;
    }
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: 'liga' on;
    color: var(--text-main-color);
    line-height: 1.8;
    background-color: #ddd;
    &.puma--dark {
        background-color: #3c3c3c;
        color: rgba(255, 255, 255, 0.6);
    }
}

h1,
h2,
h3,
h4,
h5 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
}

ol,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

button,
input,
textarea {
    -webkit-appearance: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-size: 16px;
    color: rgba(0, 0, 0, 0.86);
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
a,
button,
input {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
figcaption {
    -webkit-nbsp-mode: normal;
}

input[disabled] {
    cursor: default;
    color: rgba(0, 0, 0, 0.8);
    background-color: var(--text-border-color);
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden],
template {
    display: none;
}
svg:not(:root) {
    overflow: hidden;
}

.screen-reader-text {
    left: -9999px;
    position: absolute;
    top: -9999px;
}

.u-textAlignCenter {
    text-align: center;
}
.u-hide {
    display: none;
}

.surface-content {
    background-color: #fff;
    margin: 60px auto;
    max-width: 900px;
    .puma--dark & {
        background-color: #262626;
    }
}

.back-to-top {
    position: fixed;
    right: 100px;
    bottom: 50px;
    cursor: pointer;
    .icon {
        fill: rgba(0, 0, 0, 0.8);
    }
    &:hover {
        .icon {
            fill: var(--primary-color);
        }
    }
    .puma--dark & {
        .icon {
            fill: rgba(255, 255, 255, 0.8);
        }
        &:hover {
            .icon {
                fill: rgba(255, 255, 255, 0.9);
            }
        }
    }
}
